#!/bin/sh

# IR-CUTA/IR-CUTB
bspmm 0x17940090 0x1200 #IR-CUT GPIO7_0
echo 56 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio56/direction
echo 0 > /sys/class/gpio/gpio56/value

bspmm 0x17940094 0x1200 #IR-CUT GPIO7_1
echo 57 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio57/direction
echo 0 > /sys/class/gpio/gpio57/value

#echo host > /proc/10300000.usb20drd/mode

# SDIO1 WIF/BT
bspmm 0x11130050 0x1205 #SDIO1_CARD_DETECT / GPIO7_5
#echo 61 > /sys/class/gpio/export
#echo out > /sys/class/gpio/gpio61/direction
#echo 1 > /sys/class/gpio/gpio61/value

bspmm 0x11130054 0x1205 #SDIO1_CARD_POWER_EN_N / GPIO7_4
echo 60 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio60/direction
echo 1 > /sys/class/gpio/gpio60/value
